$OpenBSD: patch-GTG_gtg_py,v 1.6 2014/01/09 13:31:31 ajacoutot Exp $
--- GTG/gtg.py.orig	Sun Nov 24 15:51:43 2013
+++ GTG/gtg.py	Thu Jan  9 13:29:49 2014
@@ -80,7 +80,7 @@ def check_instance(directory, uri_list=[]):
     pid = open(pidfile, "r").readline()
     if pid:
         p = os.system("/bin/ps %s >/dev/null" % pid)
-        p_name = os.popen("/bin/ps -f %s" % pid).read()
+        p_name = os.popen("/bin/ps -p %s" % pid).read()
         if p == 0 and "gtg" in p_name:
             print _("gtg is already running!")
             try:
